<template>
	<view class="content">
		<view class="tabs flexr justify-space-around">
			<view class="tab active">全部</view>
			<view class="tab">储值记录</view>
			<view class="tab">消费历史记录</view>
		</view>
		<view class="scroll-view">
			<view class="item flexr align-center" v-for="(item, index) in 30" :key="index">
				<view class="flexc flex-1 overflow-hidden">
					<view class="title-item">订单消费</view>
					<view>订单号: HLS26082307300082</view>
					<view class="time-item">2023-07-30  20:58:50</view>
				</view>
				<view class="score-item">
					-23.1
				</view>
			</view>
		</view>
	</view>
</template>

<script setup>
	
</script>

<style lang="scss">
.content {
	// padding: 0 32rpx 32rpx;
	background-color: white;
	.tabs {
		background-color: $bg-content;
		.tab {
			font-size: 28rpx;
			color: $text-color2;
			height: 95rpx;
			line-height: 95rpx;
			min-height: 95rpx;
			&.active {
				color: $primary-color;
			}
		}
	}
	.scroll-view {
		flex: 1;
		overflow-y: scroll;
		padding: 32rpx;
		padding-top: 12rpx;
		background-color: white;
		.item {
			border-bottom: 2rpx solid $divider-color;
			padding-bottom: 20rpx;
			padding-top: 20rpx;
		}
		.title-item {
			font-size: 32rpx;
			margin-bottom: 10rpx;
		}
		.time-item {
			font-size: 24rpx;
			color: $text-color2;
		}
		.score-item {
			color: #E9A868;
			font-size: 48rpx;
			margin-top: 4rpx;
		}
	}
}
</style>
